﻿using System;
using System.Linq;
using DB.SDFAuth;

using NUnit.Framework;
using Nop.Tests;
using SDFAuth;
using Weapsy;

namespace Nop.Data.Tests.Blogs
{
    [TestFixture]
    public class AppPersistenceTests : PersistenceTest<SDFAuthEntities>
    {
        [Test]
        public void save_read()
        {
            var blogPost = new application
            {
               AppName = "sdf333",
               Descript = "Descript",
               status =  1
            };

            var fromDb = SaveAndLoadEntity(blogPost);
            fromDb.AppName.ShouldEqual("sdf333");
        }
    }

}
